package kazan.fujitsu.lab.l11;

import kazan.fujitsu.lab.l11.model.Data;

public class Test {

	public static void main(String[] args) throws Exception {
		MainSolutionImpl solver = new MainSolutionImpl();
		Data data = new Data(1, 5, 8, 10);
		Data data2 = new Data(1, 5, 3, 7);
		solver.solve(data);
		
		if (solver.getResult().equals("NO")) {
			System.out.println("Test OK");
		} else {
			System.out.println("Test failed");
		}
		
		solver.solve(data2);

		if (solver.getResult().equals("YES")) {
			System.out.println("Test OK");
		} else {
			System.out.println("Test failed");
		}
	}

}
